package com.guoqing.example.common;

/**
 * @author zhangguoqing
 * @create Time 2020/8/24
 */
public enum MyEnum {
    SUCCESS("1001", "操作成功"),
    FAILED("0000", "操作失败");

    private String code;
    private String message;

    MyEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
